package com.studio.entity;

import java.sql.Timestamp;
import java.util.Date;

/**
 * Users entity. @author MyEclipse Persistence Tools
 */

public class Users implements java.io.Serializable {

	// Fields

	private Integer id;
	private String nickname;
	private String password;
	private String workNo;
	private Date regDate;
	private String sex;
	private Short isDisabled;
	private Short isNew;

	// Constructors

	/** default constructor */
	public Users() {
	}
	
	/** full constructor */
	public Users(String nickname, String password, String workNo,
			Timestamp regDate, String sex, Short isDisabled, Short isNew) {
		this.nickname = nickname;
		this.password = password;
		this.workNo = workNo;
		this.regDate = regDate;
		this.sex = sex;
		this.isDisabled = isDisabled;
		this.isNew = isNew;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPassword() {
		return this.password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getWorkNo() {
		return this.workNo;
	}

	public void setWorkNo(String workNo) {
		this.workNo = workNo;
	}

	public Date getRegDate() {
		return this.regDate;
	}

	public void setRegDate(Timestamp regDate) {
		this.regDate = regDate;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public Short getIsDisabled() {
		return this.isDisabled;
	}

	public void setIsDisabled(Short isDisabled) {
		this.isDisabled = isDisabled;
	}

	public Short getIsNew() {
		return this.isNew;
	}

	public void setIsNew(Short isNew) {
		this.isNew = isNew;
	}

	@Override
	public String toString() {
		return "Users [id=" + id + ", nickname=" + nickname + ", password="
				+ password + ", workNo=" + workNo + ", regDate=" + regDate
				+ ", sex=" + sex + ", isDisabled=" + isDisabled + ", isNew="
				+ isNew + "]";
	}

}